
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>添加联系人</title>
    <link rel="shortcut icon" href="easyui/css/images/favicon.ico" />
    <link rel="stylesheet" href="css/flipclock.css">
    <link href="css/CalcSS3.css" rel="stylesheet" type="text/css" />
    <link href="css/index.css" rel="stylesheet" type="text/css" />
    <link href="easyui/css/easyui.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/easyui_animation.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/easyui_plus.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/insdep_theme_default.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/icon.css" rel="stylesheet" type="text/css">
    <link href="easyui/css/font-awesome-4.7.0/css/font-awesome.min.css" rel="stylesheet" type="text/css">
</head>
<body>
 <script type="text/javascript" src="js/client/validator.js"></script>
<div class="form-div">
    <form id="add-contact-form" action="add-contact" method="post">
        <div class="div-title"> ------------------------------<span class="span-title">联系人</span>------------------------------</div>
        
        <div class="dd">
        	<input name="contactName" class="easyui-textbox" data-options="label:'姓名：',width:320,required:true" validType="textname">&nbsp;&nbsp;&nbsp;
        	<input name="phone" class="easyui-textbox" data-options="label:'移动电话：',width:320" validType="textphone">
        </div>
        
        <div class="dd">
       		<input  class="easyui-combobox" name="cid" data-options="label:'对应客户：',required:true,width:650,
       			valueField:'cid',textField:'cname',url:'find-all-client', limitToList:true" /> 
        </div>
        
        <div class="dd">
        	<select name="sex"  class="easyui-combobox" data-options="label:'性别：',width:320,panelWidth:220, limitToList:true" >
            	<option value="">未选</option>  
			    <option value="男">男</option>   
			    <option value="女">女</option>  
			</select> &nbsp;&nbsp;&nbsp;
			<input name="wechat" class="easyui-textbox" data-options="label:'微信：',width:320" validType="textwechat">
        </div>
       
        <div class="dd">
            <select name="important"  class="easyui-combobox" data-options="label:'联系人分类：',
            	width:320,panelWidth:220, limitToList:true" >
            	<option value="">未选</option>  
			    <option value="0">特别重要</option>   
			    <option value="1">重要</option>   
			    <option value="2">普通</option>   
			    <option value="3">不重要</option>   
			    <option value="4">失效</option>  
			</select> &nbsp;&nbsp;&nbsp;
			<input name="transcation" class="easyui-textbox" data-options="label:'负责业务：',width:320" >
        </div>
        
        
        <div class="div-title">--------------------------<span class="span-title">单位</span>----------------------------</div>
        <div class="dd">
        	<input name="dept" class="easyui-textbox" data-options="label:'部门：',width:320"> &nbsp;&nbsp;&nbsp;
			<input name="job" class="easyui-textbox" data-options="label:'职务：',width:320">
        </div>
        
        <div class="dd">
        	<select name="type"  class="easyui-combobox" data-options="label:'类型：',width:320,panelWidth:220, limitToList:true" >
            	<option value="">未选</option>  
			    <option value="联系人">联系人</option>   
			    <option value="主联系人">主联系人</option>  
			</select>
        </div>
       
        
        <div class="div-title">-----------------------------<span class="span-title">联系</span>-----------------------------</div>
        <div class="dd">
       		<input name="fax" class="easyui-textbox" data-options="label:'传真：',width:320">&nbsp;&nbsp;&nbsp;
       		<input name="email" class="easyui-textbox" data-options="label:'邮件地址：',width:320" validType="textemail">
       </div>
       
       <div class="dd">
       		<input name="homePhone" class="easyui-textbox" data-options="label:'家庭电话：',width:320" validType="texttel">&nbsp;&nbsp;&nbsp;
       		<input name="qq" class="easyui-textbox" data-options="label:'QQ：',width:320" validType="textqq">
       </div>
       
       <div class="dd">
        	<input  name="address" class="easyui-textbox" data-options="label:'地址：',width:650" >
        </div>
       
      
        
        <div class="div-title">-------------------------<span class="span-title">其他：</span>-------------------------</div>
        
        <div class="dd">
        	<select name="cardType"  class="easyui-combobox" data-options="label:'证件类型：',width:320,panelWidth:220, limitToList:true" >
            	<option value="">未选</option>  
			    <option value="身份证">身份证</option>   
			    <option value="军官证">军官证</option>  
			    <option value="护照">护照</option>   
			    <option value="其他">其他</option>  
			</select>&nbsp;&nbsp;&nbsp;
			<input name="cardNumber" class="easyui-textbox" data-options="label:'证件号码：',width:320">
        </div>
        
        <div class="dd">
            <input name="remarks"   class="easyui-textbox" data-options="label:'备注：',width:650,height:100,
            multiline:true">
        </div>
        
    </form>
</div>
</body>
</html>
